/**
 * Jaxson ajax
 *
 * Copyright Remedy Interactive, licensed under Apache version 2 license:
 *
 *  http://www.apache.org/licenses/LICENSE-2.0.html
 *
 * This notice must remain in all java source files.
 */

package org.jaxson.struts.reverseAjax;


/**
 * An event which notifies observing javascript code
 * to reload the application.  This event is fired 
 * when the reverse ajax heartbeat goes down and restarts.
 * 
 * @author Joe Maisel
 */
public class ForcedReloadEvent extends ReverseAjaxEvent
{
	public static final String EVENT_NAME = ForcedReloadEvent.class.getName();

	private String messageKey;

	public ForcedReloadEvent ()
	{
		setName( EVENT_NAME );
	}

	/**
	 * @return the messageKey
	 */
	public String getMessageKey()
	{
		return messageKey;
	}

	/**
	 * @param messageKey
	 *            the messageKey to set
	 */
	public void setMessageKey( String messageKey )
	{
		this.messageKey = messageKey;
	}

	private static final long serialVersionUID = -2691802912920003639L;
}
